package org.example;




import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@Configurable
@EnableDubbo
@EnableRabbit
@EnableTransactionManagement
@NacosPropertySource(dataId = "config", autoRefreshed = true)
public class Application {

    public static void main(String[] args){
        SpringApplication.run(Application.class);
    }

}
